﻿@page
@inherits Edu.Pages.EduPageBase
@using  Edu.Pages.StudyTask
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@model Edu.Web.Pages.StudyTask.EditModalModel
@{
    Layout = null;
}

<form method="post" asp-page="/StudyTask/EditModal">
    <abp-modal>
        <abp-modal-header title="修改任务"></abp-modal-header>
        <abp-modal-body>
            <abp-input asp-for="Id" />
            <abp-input asp-for="CreateUpdateDto.Title" label="标题" />
            <div class="row">
                <div class="col-sm">
                    <abp-select asp-for="CreateUpdateDto.Year" asp-items="StudyTaskConst.YearList" label="所属年" />
                </div>
                <div class="col-sm">
                    <abp-select asp-for="CreateUpdateDto.Quarter" asp-items="StudyTaskConst.QuarterList" label="所属季度" />
                </div>

            </div>

            <div class="row">
                <div class="col-sm">
                    <abp-input asp-for="CreateUpdateDto.TeacherPhoneNum" label="教师手机号" />
                </div>
                <div class="col-sm">
                    <abp-input asp-for="CreateUpdateDto.StudentPhoneNum" label="学生手机号" />
                </div>

            </div>


            <div class="row">
                <div class="col-sm">
                    <abp-input asp-for="CreateUpdateDto.One" label="一级维度" />
                </div>
                <div class="col-sm">
                    <abp-input asp-for="CreateUpdateDto.Two" label="二级维度" />
                </div>
                <div class="col-sm">
                    <abp-input asp-for="CreateUpdateDto.Three" label="三级维度" />
                </div>
            </div>

            <abp-input asp-for="CreateUpdateDto.TaskType" label="任务类型" />
            <abp-input asp-for="CreateUpdateDto.Detail" label="任务内容" />
            <abp-input asp-for="CreateUpdateDto.Grade" label="评分标准" />
            <div class="row">
                <div class="col-sm">
                    <abp-input asp-for="CreateUpdateDto.DeadLine" label="截止日期" />
                </div>
                <div class="col-sm">
                    <abp-select asp-for="CreateUpdateDto.Status" asp-items="StudyTaskConst.StatusList" label="状态" />
                </div>
            </div>

        </abp-modal-body>
        <abp-modal-footer buttons="@(AbpModalButtons.Cancel|AbpModalButtons.Save)"></abp-modal-footer>
    </abp-modal>
</form>